package com.liang.codegenerate.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liang.codegenerate.model.dto.fields.FieldsAddDto;
import com.liang.codegenerate.model.dto.fields.FieldsUpdateDto;
import com.liang.codegenerate.model.entity.Fields;

import java.util.List;

/**
* @author lzw
* @description 针对表【fields(字段表)】的数据库操作Service
* @createDate 2024-01-20 21:08:33
*/
public interface FieldsService extends IService<Fields> {

    boolean addField(FieldsAddDto fieldsAddDto);

    List<Fields> listField(Long tableId);

    Fields listFieldById(Long id);

    boolean updateField(FieldsUpdateDto fieldsUpdateDto);

    boolean deleteField(Long id);
}
